//
//  RootViewController.h
//  reacticons
//
//  Created by Nong Nghia on 4/14/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIGridViewController.h"
#import "UIGridViewCell+DownloadImage.h"
#import "LoadingView.h"
#import "HeaderViewController.h"

@interface RootViewController : UIViewController <UIGridViewDataSource, 
UIGridViewDelegate, 
UISearchBarDelegate,
HeaderViewDelegate>
{
    UIGridView * itemGridView;
    UISearchBar * homeSearchBar;
    
    NSMutableArray * folderList;
    NSMutableArray * searchResult;
    
    NSInteger itemPerRow;
    NSString * parentID;
    
    BOOL enableReOrder;
    BOOL isReloadingData;
    BOOL headerShown;
    UIBarButtonItem * settingBtn;
}

@property (nonatomic, assign) NSInteger itemPerRow;
@property (nonatomic, retain) NSString * parentID;

-(void)clickedHeaderBtn:(id)sender;
@end
